package com.example.mytest;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.widget.TextView;

public class mainMenu extends Activity {
    
	private TextView username;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main_menu);
        Intent intent = this.getIntent();
        
        String user = (String) intent.getStringExtra("user");
        username.setText(user);        
    }
}
